package com.zy.explore.license.interfaces.frm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * description 表(customer_license_info)的请求参数Frm对象
 *
 * @author 🇨🇳中国印🇨🇳
 * @date 2022年04月06日 10:13:39
 */
@ApiModel("表(customer_license_info)实体类查询Frm")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CustomerLicenseInfoQueryFrm {

    /**
     * 表主键
     */
    @ApiModelProperty(value = "表主键", example = "'1'")
    private String id;

    /**
     * 客户类型: user-个人(默认), company-公司, institution-机构
     */
    @ApiModelProperty(value = "客户类型: user-个人(默认), company-公司, institution-机构", example = "'1'")
    private String customerType;

    /**
     * 证书开始生效时间
     */
    @ApiModelProperty(value = "证书开始生效时间起 yyyy-MM-dd HH:mm:ss", example = "2021-05-20 00:00:00")
    private String issueTimeBegin;

    @ApiModelProperty(value = "证书开始生效时间止 yyyy-MM-dd HH:mm:ss", example = "2021-05-20 23:59:59")
    private String issueTimeEnd;

    /**
     * 客户名称
     */
    @ApiModelProperty(value = "客户名称", example = "'1'")
    private String customerName;

    /**
     * 证书到期时间
     */
    @ApiModelProperty(value = "证书到期时间起 yyyy-MM-dd HH:mm:ss", example = "2021-05-20 00:00:00")
    private String expiryTimeBegin;

    @ApiModelProperty(value = "证书到期时间止 yyyy-MM-dd HH:mm:ss", example = "2021-05-20 23:59:59")
    private String expiryTimeEnd;

    /**
     * 证书校验自定义参数json串
     */
    @ApiModelProperty(value = "证书校验自定义参数json串", example = "'1'")
    private String licenseCheckModel;

    /**
     * 是否删除: 0-否 1-是
     */
    @ApiModelProperty(value = "是否删除: 0-否 1-是", example = "1")
    private Integer delFlag;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间起 yyyy-MM-dd HH:mm:ss", example = "2021-05-20 00:00:00")
    private String createTimeBegin;

    @ApiModelProperty(value = "创建时间止 yyyy-MM-dd HH:mm:ss", example = "2021-05-20 23:59:59")
    private String createTimeEnd;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间起 yyyy-MM-dd HH:mm:ss", example = "2021-05-20 00:00:00")
    private String updateTimeBegin;

    @ApiModelProperty(value = "更新时间止 yyyy-MM-dd HH:mm:ss", example = "2021-05-20 23:59:59")
    private String updateTimeEnd;


    /**
     * 排序字段集合
     */
    @ApiModelProperty("排序字段集合")
    private List<SortFieldFrm> sortFields;

    /**
     * 分页查询参数，页码
     */
    @ApiModelProperty(value = "查询页", example = "1")
    private Integer pageNum;

    /**
     * 分页查询参数，每页数量
     */
    @ApiModelProperty(value = "每页数量", example = "10")
    private Integer pageSize;
}
